package com.hclc.yxb.ao;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.hclc.entity.model.enums.SortEnum;
import com.hclc.entity.model.series.CustomLocalDateSerializer;
import com.hclc.entity.model.series.DeCustomLocalDateSerializer;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDate;

/** ('-')
 * 查询用户列表ao
 * @author ljj
 * @version 1.0
 * @date 2020/10/19 11:17
 */
@Data
public class SelectUserCustomersAo {
    /**
     * 用户昵称
     */
    @ApiModelProperty(value = "用户昵称")
    private String userName;

    /**
     * 手机号
     */
    @ApiModelProperty(value = "手机号")
    private String userPhone;
    /**
     * 消费额排序
     */
    @ApiModelProperty(value = "消费额排序")
    private SortEnum consumptionSort;

    /**
     * 开始时间
     */
    @ApiModelProperty(value = "开始时间")
    @JsonDeserialize(using = DeCustomLocalDateSerializer.class)
    @JsonSerialize(using = CustomLocalDateSerializer.class)
    private LocalDate startTime;

    /**
     * 结束时间
     */
    @ApiModelProperty(value = "结束时间")
    @JsonDeserialize(using = DeCustomLocalDateSerializer.class)
    @JsonSerialize(using = CustomLocalDateSerializer.class)
    private LocalDate endTime;



}
